package com.googlecode.shapeline.core;

import java.util.Date;
import java.util.List;

/**
 * 产品
 * @author 陆海涛
 *
 */
public class Product {
	private int id;
	private String name;
	private String picture;
	private Provider provider;
	private Date createTime;
	private List<PropertyDefinition> propertyDefinitions;
	private List<PriceDefinition> priceDefinitions;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPicture() {
		return picture;
	}
	public void setPicture(String picture) {
		this.picture = picture;
	}
	public Provider getProvider() {
		return provider;
	}
	public void setProvider(Provider provider) {
		this.provider = provider;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public List<PropertyDefinition> getPropertyDefinitions() {
		return propertyDefinitions;
	}
	public void setPropertyDefinitions(List<PropertyDefinition> propertyDefinitions) {
		this.propertyDefinitions = propertyDefinitions;
	}
	public List<PriceDefinition> getPriceDefinitions() {
		return priceDefinitions;
	}
	public void setPriceDefinitions(List<PriceDefinition> priceDefinitions) {
		this.priceDefinitions = priceDefinitions;
	}
}
